package com.asj.house.service;

import com.asj.house.entity.HouseRoomDetail;
import com.asj.house.returns.RespEntity;
import com.asj.house.returns.RespTable;
import com.asj.house.vo.MapVO;
import com.asj.house.vo.param.RoomParam;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * <p>
 * 房源详细信息表 服务类
 * </p>
 *
 * @author asj
 * @since 2021-03-16
 */
public interface HouseRoomDetailService extends IService<HouseRoomDetail> {
    /**
     * 房源详细信息列表
     * @param roomParam
     * @return
     */
    RespTable<List<HouseRoomDetail>> listHouseRoomDetail(RoomParam roomParam);

    /**
     * 编辑房源详细信息
     * @param houseRoomDetail
     * @return
     */
    RespEntity updateHouseRoomDetail(HouseRoomDetail houseRoomDetail);

    /**
     * 中国地图
     * @return
     */
    RespEntity<List<MapVO>> chinaMap();

    /**
     * 省份地图
     * @param province
     * @return
     */
    RespEntity<List<MapVO>> provinceMap(String province);
}
